<nav role="navigation" class="navbar navbar-default">
    <div class="container top_nav">
        <div class="row">
            <div class="navbar-header">
                <button data-target="#myNavbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
                    <span class="sr-only">Menu</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <div id="myNavbar" class="navbar-collapse noPadding collapse" style="height: 1px;">
                <div class="menustyle">
                    <?php 
                        if(isset($active_menu)){$active_menu=$active_menu;}else{$active_menu=NULL;} 
                        if(isset($current_menu)){$current_menu=$current_menu;}else{$current_menu=NULL;}
                    ?>
                    <?php echo modules::run('menus/menus/get_main_menus',array('current_menu'=>$current_menu,'active_menu'=>$active_menu,'menu_type'=>FRONT_END_MENU_TOP_CAT_ID)); ?>
                </div>
            </div>
        </div>        
    </div>
</nav>